package com.situ.report.service;

import com.situ.report.dao.Gcservicedao;
import com.situ.report.entity.gcservice;
import com.situ.util.entity.CstService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GcserviceServiceImpl implements GcserviceService {
    @Autowired
    Gcservicedao gcservicedao;

    @Override
    public List<gcservice> querygc(int aaa) {
        return gcservicedao.selectcst_customergc(aaa);
    }

    @Override
    public List<gcservice> queryservices(Integer years) {
        return gcservicedao.queryserice(years);
    }

    @Override
    public List<gcservice> queryserviceyear() {
        return gcservicedao.queryyear();
    }


}
